﻿using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;

namespace BeatingMole
{
    public class CGlobalVariable
    {
        public static int level = 2;                         // Level màn chơi
        public static int timeMap = 100;                     // Thời gian của màn chơi
        public static int requiredScore = 1;               // Số điểm của màn chơi
        public static int _delayDrawEnemy = 350;             // Thời gian delay khi Draw mỗi Enemy
        public static bool _isNextLevel = false;            // Được phép qua màn chơi kế tiếp

        public static List<CInfoEnemy> _listInfoEnemy = new List<CInfoEnemy>();         // Danh sách Enemy cua màn chơi
        //public static CBusMap Map;                         // Màn chơi


        // Mouse event
        public static MouseState mouseStateCurrent = Mouse.GetState();
        public static MouseState mouseStatePrevious = mouseStateCurrent;

        //public static CBusMap NewBusMap;

        public static UInt32 Score;
        public static bool IsStart = false;
        public static bool IsStartPlay = false;
        public static bool IsPauseGame = false;
        public static bool IsGameOver = false;
        public static bool IsMenu = true;
        public static bool IsEnableMenu = true;
        public static bool IsWin = false;               // Kiêm tra chiến thắng
        public static bool IsMute = false;
        public static float Opacity = 0.75f;
        public enum PositionMenu
        {
            TopBack,
            LeftBack,
            RightBack,
            DownBack,
            Top,
            Down,
            Left,
            Right
        }
        public static PositionMenu PosMenuBack;
        public static int SpeedTranslate = 30;
        public static CInfoPlayer InfoPlayer = new CInfoPlayer();
    }
}
